package com.ef.service;

import java.util.Date;
import java.util.List;

import com.ef.domain.MarketingPlan;

public interface MarketingPlanService extends BaseService {

	public void saveOrUpdate(MarketingPlan entity);

	public MarketingPlan findById(Long id);

	public List<MarketingPlan> getAdChannelOtherPlanBetweenDate(Date fdate,
			Date ldate, Long adChannelId, Long PlanId);

	public List<MarketingPlan> getAdChannelPlanBetweenDate(Date fdate,
			Date ldate, Long adChannelId);

	public List<MarketingPlan> getPlanBetweenDate(Date fdate, Date ldate);

	public List<MarketingPlan> findByAnything(String qitem, int max);
	
	public List<MarketingPlan> findByAnythingByTeamId(String qitem, int max,Long teamid);
	
	public  void delete(MarketingPlan entity);

}
